package eSn.Core.Structure;

public class Version {
	public int Major;
	public int Minor;
	public int Revision ;
	public int Build;
	public String Info;
	
	public String toString(){
		if (this.Info.trim().length() == 0){
			return String.valueOf(this.Major) + "." + String.valueOf(this.Minor)+ "." + String.valueOf(this.Revision)+ "." + String.valueOf(this.Build) ;
		}else{
			return String.valueOf(this.Major) + "." + String.valueOf(this.Minor)+ "." + String.valueOf(this.Revision)+ "." + String.valueOf(this.Build)  + "." + this.Info;
		}
	}
}
